<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Result</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/google-code-prettify@1.0.5/bin/prettify.min.css">
<link href="../style.css" rel="stylesheet" />
</head>
<body onload="PR.prettyPrint()">
<pre class="prettyprint">
<xmp>
#import <Foundation/Foundation>;

@interface Result : NSObject

//响应数据
@property (nonatomic, strong) UserVO data;
//响应码
@property (nonatomic, strong) NSInteger code;
//响应消息
@property (nonatomic, assign) NSString msg;


@end
</xmp>
</pre>

<pre class="prettyprint">
<xmp>
#import <Foundation/Foundation>;

@interface UserVO : NSObject

//用户id
@property (nonatomic, strong) NSInteger userId;
//用户名字
@property (nonatomic, assign) NSString userName;
//用户头像
@property (nonatomic, assign) NSString userImg;
//用户权限，user为游客，admin为博主
@property (nonatomic, assign) NSString userRole;
//用户邮箱
@property (nonatomic, assign) NSString userMail;
//登陆时间
@property (nonatomic, assign) NSString loginTime;
//一共获赞/收藏/支持量
@property (nonatomic, strong) NSInteger supportSum;
//一共浏览量
@property (nonatomic, strong) NSInteger browseSum;
//已发布文章数量
@property (nonatomic, strong) NSInteger articleSum;


@end
</xmp>
</pre>


<script src="https://cdn.jsdelivr.net/npm/google-code-prettify@1.0.5/bin/prettify.min.js"></script>
</body>
</html>